# Older versions of android require shell java libraries
if (TOADLET_PLATFORM_ANDROID AND ANDROID_NDK_API_LEVEL LESS 9)
	if (NOT EXISTS ${ANDROID_JAR})
		message (FATAL_ERROR "ANDROID_JAR not found. Toadlet with Android NDK API levels < 9 requires the ANDROID_SDK variable to be set to your install of the Android SDK" )
	endif (NOT EXISTS ${ANDROID_JAR})

	add_subdirectory (java)
endif (TOADLET_PLATFORM_ANDROID AND ANDROID_NDK_API_LEVEL LESS 9)

# Add the c++ source code
add_subdirectory (cpp)

